<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:65:"E:\www\paobanglang\nav/../application/admin\view\login\index.html";i:1512184159;s:67:"E:\www\paobanglang\nav/../application/admin\view\Public\header.html";i:1512184095;s:67:"E:\www\paobanglang\nav/../application/admin\view\Public\footer.html";i:1516863870;}*/ ?>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <title>后台管理</title>
   
    <link rel="stylesheet" href="__STATIC__/admin/css/amazeui.min.css" />
    <link rel="stylesheet" href="__STATIC__/admin/css/admin.css">
    <link rel="stylesheet" href="__STATIC__/admin/css/style.css">
    <link rel="stylesheet" href="__STATIC__/admin/css/pintuer.css">
    <link rel="stylesheet" href="__STATIC__/admin/css/app.css">
    <script src="__STATIC__/admin/js/jquery.min.js"></script>
    <script src="__STATIC__/admin/js/amazeui.min.js"></script>
    <script src="__STATIC__/admin/js/pintuer.js"></script>
    <script src="__STATIC__/admin/js/app.js"></script>
    <script type="text/javascript" src="__STATIC__/admin/layer/layer.js"></script>
    <script type="text/javascript" src="__STATIC__/admin/laydate/laydate.js"></script>
    <script type="text/javascript" src="__STATIC__/admin/laytpl/laytpl.js"></script>
</head>
<body>
<div class="am-g myapp-login">
    <div class="myapp-login-logo-block  tpl-login-max" style="margin-top: 15%;">
        <div style="text-align: center; margin:0px auto; width: 380px; height: 180px; background: url('__STATIC__/admin/images/logo.png'); background-position:-170px -5px;"></div>
        <div class="am-u-sm-10 login-am-center">
            <form class="am-form" method="post">
                <?php if($type == 'error'): ?>
                    <div style="color: red; font-size: 13px;">
                        帐号或密码错误！
                    </div>
                <?php endif; ?>
                <div class="am-form-group">
                    <input type="text" style="border-radius: 0px; font-size: 14px" id="username" name="username" placeholder="输入帐号">
                </div>
                <div style="height: 15px;"></div>
                <div class="am-form-group">
                    <input type="password" style="border-radius: 0px; font-size: 14px" id="password" name="password" placeholder="输入密码">
                </div>
                <div style="height: 15px;"></div>
                <p><button type="submit" class="am-btn am-btn-default" style="border-radius: 0px; padding:3px 0px;">登录</button></p>
            </form>
        </div>
    </div>
</div>
<script src="__STATIC__/admin/js/jquery.min.js"></script>
<script src="__STATIC__/admin/js/amazeui.min.js"></script>
<script src="__STATIC__/admin/js/pintuer.js"></script>
<script src="__STATIC__/admin/js/app.js"></script>
<script type="text/javascript" src="__STATIC__/admin/layer/layer.js"></script>
<script type="text/javascript" src="__STATIC__/admin/layer/extend/layer.ext.js"></script>
<script type="text/javascript" src="__STATIC__/admin/laydate/laydate.js"></script>
<script type="text/javascript" src="__STATIC__/admin/laytpl/laytpl.js"></script>
<script>
    $('.upload').on('click',function (){
            var id = $(this).attr('data-id');
            upload(id);
        }
    );
    function upload(id){
        layer.open({
            type:2,
            title:false,
            area: ['70%', '90%'],
            offset: '5%',
            content: "<?php echo url('/admin/material'); ?>?id="+id
        });
    }
</script>
<?php if(request()->isPost()): ?>
<script>
    layer.msg('操作完成！');
    setTimeout(function (){
        parent.window.location.href = parent.window.location.href;
    },800);
</script>
<?php endif; ?>
</body>
</html>